package com.example.dorm1_demo.entity;
import lombok.Data;

@Data
public class Student {
    private Integer id;
    private String name;
    private String gender;
    private Integer age;
    private String className;
    private String major;
    private String phone;
    private String email;
    private Integer dormitoryId; // 宿舍ID
    private String dormitoryNumber; // 宿舍号(冗余字段，方便显示)
}